package OBJ_Loader;

import graphic.Graphic;
import org.lwjgl.util.vector.Vector3f;
import org.newdawn.slick.opengl.Texture;

/**
 *  
 * @author Marcin & Bartek
 * 
 * @description Contains particular info about material features
 * 
 */
public class Material {
    private String name=null;
    private Vector3f amb;
    private Vector3f diff;
    private Vector3f spec;
    private float Ns;
    private float d;
    
    private Texture tex=null;
    
    public void use(){
        //Graphic.e.useMtl(this);
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the amb
     */
    public Vector3f getAmb() {
        return amb;
    }

    /**
     * @param amb the amb to set
     */
    public void setAmb(Vector3f amb) {
        this.amb = amb;
    }

    /**
     * @return the diff
     */
    public Vector3f getDiff() {
        return diff;
    }

    /**
     * @param diff the diff to set
     */
    public void setDiff(Vector3f diff) {
        this.diff = diff;
    }

    /**
     * @return the spec
     */
    public Vector3f getSpec() {
        return spec;
    }

    /**
     * @param spec the spec to set
     */
    public void setSpec(Vector3f spec) {
        this.spec = spec;
    }

    /**
     * @return the Ns
     */
    public float getNs() {
        return Ns;
    }

    /**
     * @param Ns the Ns to set
     */
    public void setNs(float Ns) {
        this.Ns = Ns;
    }

    /**
     * @return the d
     */
    public float getD() {
        return d;
    }

    /**
     * @param d the d to set
     */
    public void setD(float d) {
        this.d = d;
    }

    /**
     * @return the tex
     */
    public Texture getTex() {
        return tex;
    }

    /**
     * @param tex the tex to set
     */
    public void setTex(Texture tex) {
        this.tex = tex;
    }
    
}
